package com.xinsoft.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class ScmMaterialReturnApplyPageVo {
    /**
     * 退料申请id
     */
    private Integer id;

    /**
     * 退料时间
     */
    @Excel(name = "退料时间",orderNum = "0")
    private Date returnTime;

    /**
     * 退料单号
     */
    @Excel(name = "退料单号",orderNum = "0")
    private String returnCode;

    /**
     * 退料申请类型:字典id（生产退料、委外退料）
     */
    private Integer returnApplyTypeId;

    /**
     * 退料人
     */
    private Integer returnPersonId;
    @Excel(name = "退料人",orderNum = "0")
    private String returnPersonName;

    /**
     * 物料ID
     */
    private Integer materialId;

    /**
     * 物料编码
     */
    @Excel(name = "物料编码",orderNum = "0")
    private String materialNo;

    /**
     * 物料名称
     */
    @Excel(name = "物料名称",orderNum = "0")
    private String materialName;

    /**
     * 规格属性
     */
    @Excel(name = "规格属性",orderNum = "0")
    private String materialSpecific;

    /**
     * 批次
     */
    @Excel(name = "批次",orderNum = "0")
    private String batch;

    /**
     * 计量单位
     */
    @Excel(name = "主单位",orderNum = "0")
    private String mainUnitName;

    /**
     * 计划退回数量
     */
    @Excel(name = "计划退回数量",orderNum = "0")
    private BigDecimal planReturnNum;

    /**
     * 辅助单位
     */
    // private Integer assistUom;
    @Excel(name = "辅助单位",orderNum = "0")
    private String assistUomName;

    /**
     * 退回辅助数量
     */
    @Excel(name = "退回辅助数量",orderNum = "0")
    private BigDecimal returnAssistNum;

    /**
     * 换算系数
     */
    @Excel(name = "换算系数",orderNum = "0")
    private BigDecimal convCoefficient;

    /**
     * 含税单价
     */
    @Excel(name = "含税单价",orderNum = "0")
    private BigDecimal taxUnitPrice;

    /**
     * 不含税单价
     */
    @Excel(name = "不含税单价",orderNum = "0")
    private BigDecimal unitPrice;

    /**
     * 税率
     */
    @Excel(name = "税率",orderNum = "0")
    private BigDecimal tax;

    /**
     * 含税总价
     */
    @Excel(name = "含税总价",orderNum = "0")
    private BigDecimal taxTotalPrice;

    /**
     * 不含税总价
     */
    @Excel(name = "不含税总价",orderNum = "0")
    private BigDecimal totalPrice;

    /**
     * 仓库ID
     */
    private Integer warehouseId;

    /**
     * 仓库
     */
    @Excel(name = "仓库",orderNum = "0")
    private String warehouseName;

    /**
     * 库位ID
     */
    private Integer warehouseItemId;

    /**
     * 库位
     */
    @Excel(name = "库位",orderNum = "0")
    private String warehouseItemName;

    /**
     * 退料原因
     */
    @Excel(name = "退料原因",orderNum = "0")
    private String reason;

    /**
     * 审核状态 0-未审核 1-已审核
     */
    @Excel(name = "审核状态",orderNum = "0")
    private String auditStatusName;

    /**
     * 源单类型
     */
    @Excel(name = "源单类型",orderNum = "0")
    private String sourceTypeName;

    /**
     * 源单编码
     */
    @Excel(name = "源单编码",orderNum = "0")
    private String sourceCode;

}
